package lib.self.adapter.interfaces;

import java.util.List;

import lib.self.bean.TreeChildBean;

/**
 * description:二级列表的基本何用方法
 * author: Steven Xiao
 * date 2018/8/21
 */
public interface ITreeBean<C extends TreeChildBean> {
    int getParentPosition();

    void setParentPosition(int parentPosition);

    int getChildPosition();

    void setChildPosition(int childPosition);

    boolean isParentItem();

    List<C> getChildren();

}
